package dtn.supports;

import android.content.Context;

public class Constant {

	public static final String EXTRA_URL_VIEW = "dtnnews._url_view";

	public static String testValue = "";

	// Setting Page
	public static final String SETTING_PREFERENCE = "dtnews.setting_preference";
	public static final int SETTING_MODE = Context.MODE_PRIVATE;
	public static final String KEY_AMOUNT_NEWS = "dtnews.amount_news";
	public static final String KEY_AMOUNT_CAREER = "dtnews.amount_career";
	public static final String KEY_AMOUNT_SCIENCE = "dtnews.amount_science";
	public static final String KEY_AUTO_UPDATE = "dtnews.amount_autoupdate";
	public static final String KEY_TIME_UPDATE = "dtnews.time_update";
	public static final int MAX_NEWS = 40;
	public static final int MIN_NEWS = 10;
	public static final int MAX_TIME_AUTO_UPDATE = 55; // Tính bằng phút
	public static final int MIN_TIME_AUTO_UPDATE = 1;
	public static final int DEFAULT_NEWS = 20 - MIN_NEWS;

}
